package acwing.前缀和与差分;

import java.util.Scanner;

/**
 * @description:
 * @author: qian
 * @createDate: 2021/11/21
 */
public class K倍区间 {

    static int n, k;
    static final int N = 100010;
    static long[] s = new long[N];
    static long[] cnt = new long[N];
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        k = sc.nextInt();
        long ans = 0;
        for (int i = 1; i <= n; i++) {
            s[i] = sc.nextInt();
            s[i] = s[i] + s[i - 1];
        }

        for (int i = 1; i <= n; i++) {

        }
        System.out.println(ans);
    }
}
